package com.zjxf.base.bean.po;

import com.zjxf.base.common.IdEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 农副产品分类
 *
 * @author ZhangWei
 * @date 2021/4/6/006 16:35
 */
@Setter
@Getter
@Entity
@Table(name = "pms_as_product_classify")
public class PmsAsProductClassify extends IdEntity {

    /**
     * 上级分类id
     */
    @Column(name = "p_id",columnDefinition = "bigint(11) comment '上级分类id'")
    private Long pId;

    /**
     * 分类名称
     */
    @Column(name = "name",columnDefinition = "varchar(32) comment '分类名称'")
    private String name;

    /**
     * 是否在导航栏显示
     */
    @Column(name = "nav_status",columnDefinition = "bigint(3) comment '是否显示在导航栏 0：隐藏，1:显示'")
    private Integer navStatus;

    /**
     * 显示状态
     */
    @Column(name = "show_status",columnDefinition = "bigint(3) comment '显示状态 0：隐藏，1:显示'")
    private Integer showStatus;

}
